<div class="layui-form-item">
    <label class="layui-form-label">{$value['desc']}</label>
    <div class="layui-input-block" style="width: 30%">
        {foreach $value['option'] as $keys=>$va}
            {if $va['id']??null}
                {if $value['isidtoname']}
                    {if $value['value']==$va['id']}
                    <input type="radio" class="{$value['class']}" style="{$value['style']}" name="{$value['name']}"  value="{$va['id']}" title="{$va['name']}" checked>
                    {else}
                    <input type="radio" class="{$value['class']}" style="{$value['style']}" name="{$value['name']}"  value="{$va['id']}" title="{$va['name']}" >
                    {/if}
                {else}
                    {if $value['value']==$va['name']}
                    <input type="radio" class="{$value['class']}" style="{$value['style']}" name="{$value['name']}"  value="{$va['name']}" title="{$va['name']}" checked>
                    {else}
                    <input type="radio" class="{$value['class']}" style="{$value['style']}" name="{$value['name']}"  value="{$va['name']}" title="{$va['name']}" >
                    {/if}
                {/if}
            {else}
                {if $value['isidtoname']}
                    {if $value['value']==$keys}
                    <input type="radio" class="{$value['class']}" style="{$value['style']}" name="{$value['name']}"  value="{$keys}" title="{$va}" checked>
                    {else}
                    <input type="radio" class="{$value['class']}" style="{$value['style']}" name="{$value['name']}"  value="{$keys}" title="{$va}" >
                    {/if}
                {else}
                    {if $value['value']==$va}
                    <input type="radio" class="{$value['class']}" style="{$value['style']}" name="{$value['name']}"  value="{$va}" title="{$va}" checked>
                    {else}
                    <input type="radio" class="{$value['class']}" style="{$value['style']}" name="{$value['name']}"  value="{$va}" title="{$va}" >
                    {/if}
                {/if}
            {/if}
        {/foreach}
        <br>
        <span style="font-size: 10px">{$value['describe']}</span>
    </div>
</div>